//
//  GGAutoCollectionFlowLayout.m
//  Gunterapple
//
//  Created by 热带雨林 on 2020/3/31.
//  Copyright © 2020 热带雨林. All rights reserved.
//

#import "GGAutoCollectionFlowLayout.h"

@implementation GGAutoCollectionFlowLayout
//
- (void)prepareLayout{
//    self.scrollDirection = UICollectionViewScrollDirectionHorizontal;
    self.scrollDirection = UICollectionViewScrollDirectionVertical;
    CGFloat wight = (GDScreenW - 10) / 2;
    CGFloat height = 100;
    self.itemSize = CGSizeMake(wight, height);
    self.sectionInset = UIEdgeInsetsMake(0, 0, 0, 0);
    self.minimumLineSpacing = 1;
    self.minimumLineSpacing = 1;
}
@end
